package string;

/**标准javabean
 * 成员变量私有化
 * 无参构造
 * getter和setter
 *
 */

public class Point {
    private int a;
    private int b;

    public Point() {
    }

    public Point(int a, int b) {
        this.a = a;
        this.b = b;
    }

    public int getA() {
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }

    public int getB() {
        return b;
    }

    public void setB(int b) {
        this.b = b;
    }
}
